package org.oslims.client.service;

import java.util.List;

import org.oslims.client.GenericOSLimsException;
import org.oslims.domain.Parameter;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("parameterService")
public interface ParameterService extends RemoteService {

	public void saveOrUpdateParameter(Parameter parameter) throws GenericOSLimsException;

	public List<Parameter> getAllParameter();

	public List<Parameter> getAllParameters(int start, int length, String sortBy, boolean desc);

	public Integer getParameterCount();

}
